<?php

// +----------------------------------------------------------------------
// | Copyright (c) 2020 All rights reserved.
// +----------------------------------------------------------------------
// | User: Simony <1362229026@qq.com>
// | wechat: Shen86579595
// +----------------------------------------------------------------------

namespace app\behavior;

class MessageBehavior
{
    public function run()
    {
        $codes = \think\facade\Config::get('message.code');
        foreach ($codes as $key => $value) {
            defined($key) or define($key, $value);
        }
    }
}